package org.clipjoint.service.impl;

import org.clipjoint.dao.EventDao;
import org.clipjoint.dao.impl.EventDaoImpl;
import org.clipjoint.entity.Event;
import org.clipjoint.service.EventService;

import java.sql.SQLException;
import java.util.List;

public class EventServiceImpl implements EventService {

    private EventDao eventDao = new EventDaoImpl();

    @Override
    public List<Event> showAll() throws SQLException {
        return eventDao.showAll();
    }
}
